import { createApp } from 'vue'
// import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
// 导入我们的全局css  
//yarn add sass ===>(默认是不支持我们的sass的，需要装sass预处理器)
import '@/assets/main.scss'

// 导入pinia的持久化插件  
//yarn add pinia-plugin-persistedstate 先安装
// import persistedstate from 'pinia-plugin-persistedstate'
import pinia from '@/stores/index.js'

const app = createApp(App)

app.use(pinia)
app.use(router)
app.mount('#app')
